package com.firstgroup.Utils;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class AdminUtil {
    private Logger logger = LoggerFactory.getLogger(AdminUtil.class);

    public boolean strLength(String str,Integer min,Integer max){
        return str!=null && str.length() >= min && str.length() <= max;
    }

    public boolean isNull(String str){
        return str!=null && !str.equals("");
    }

}
